package string.tij;

public class SubString {
	public static void main(String[] args){
		String str = new String("abcdef");
		String subStr = str.substring(2, 4);
		System.out.println("str: " + str);
		System.out.println("subStr: " + subStr);
		System.out.println(str == subStr);
	}
}
